/*
 *
 *
 */
#include <iostream>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include "globals.h"
#include "State.h"
#include "Sprite.h"
#include "Text.h"
#include "Audio.h"
#include "InputManager.h"
#ifdef _TRACKING_
	#include "TrackManager.h"
#endif
#include "Animation.h"
#ifndef _TITLESTATE_H_
#define _TITLESTATE_H_

using namespace std;

class TitleState : public State
{
	private:
   
		Sprite *background;
		Sprite *leftHand;
		Sprite *rightHand;
		#ifdef _TRACKING_
			tp_body *body;
			TrackManager *trackManager;
		#endif
		Text *title;
		Text *message;
		Audio *music;
		Audio *coinSfx;
		InputManager *inputManager;
		Animation *smile;

	public:

		void load(void);
		int  update(int tDelta);
		void draw(SDL_Surface *screen);
		void unload(void);
};

#endif

